/**
 * 
 */
package com.redpixy.monit.common;

/**
 * @author admin
 *
 */
public class Address { 
	private String url = "";
	private String ip = "";
	private String port = "";
	private String name = "";
	private int errorCount = 0;
	private int sendMailNumber = 0;
	private int addressType;
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getErrorCount() {
		return errorCount;
	}
	
	public String getPort() {
		return port;
	}
	public void setPort(String port) {
		this.port = port;
	}
	public void setErrorCount(int errorCount) {
		this.errorCount = errorCount;
	}
	public int getSendMailNumber() {
		return sendMailNumber;
	}
	public void setSendMailNumber(int sendMailNumber) {
		this.sendMailNumber = sendMailNumber;
	}
	public int getAddressType() {
		return addressType;
	}
	public void setAddressType(int addressType) {
		this.addressType = addressType;
	}
	
	public String getFullURL(){
		return getIp()+getPort() + getUrl();
	}

}
